package com.electromagnetic.industry.software.manage.pojo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class AccessLogQueryVO {

    private String id;

    private String userId;

    private String userName;

    // 进行的操作
    private String action;

    // 操作对象
    private String operationModule;

    // 操作详情
    private String operationMsg;

    // 操作时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    // 请求远端地址
    private String remoteAddr;

    // 请求是否成功
    private Boolean accessSuccess;

    // 请求耗时
    private Long accessDuration;

    // 请求的ip
    private String requestIp;

}
